package cn.cjp.day04;

public class Zi extends Fu{

    public Zi(){
        //this.Zi(12);
        //用了this就不送super
        //隐含super();
        //加super(2) 调用有参
        System.out.println("zi类无参调用");

    }


    public Zi(int num){
        System.out.println("zi有参调用"+num);
    }

    public void methid1(){

        //this调用成员方法
        this.methid2();
        System.out.println("");
    }

    public void methid2(){

    }

}
